package com.etc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.etc.entity.Path;
import com.etc.entity.PathAndSelectscenic;

public interface PathMapper {
    int deleteByPrimaryKey(Integer pid);

    int insert(Path record);

    int insertSelective(Path record);

    Path selectByPrimaryKey(Integer pid);

    int updateByPrimaryKeySelective(Path record);

    int updateByPrimaryKey(Path record);
    
    //根据省份与城市的Id/景点主题id查询匹配的景点路线
    List<PathAndSelectscenic> selectPathByPidCidAndHid(@Param("pid") int pid,@Param("cid")int cid,@Param("hid")int hid);
}